package com.aizuda.encrypt.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * 加密表规则配置。
 *
 * @author nn200433
 * @date 2024-03-22 05:18:48
 */
@Setter
@Getter
@ToString
public final class TableRule {

    /** 要处理的数据库表 */
    private Map<String, ColumnRule> columns = new LinkedHashMap<String, ColumnRule>();

    public TableRule() {
    }

    public TableRule(Map<String, ColumnRule> columns) {
        this.columns = columns;
    }

}
